// Learn TypeScript:
//  - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
// Learn Attribute:
//  - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
//  - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html

import languageManager from "../languageManager/languageManager";

const {ccclass, property} = cc._decorator;

@ccclass
export default class userAgreement extends cc.Component {

    @property(cc.Label)
    btn : cc.Label = null;

    labStringList = null;

    private setLabString(){

        this.labStringList = languageManager.getGameRuleViewFontString();

        this.btn.string = this.labStringList.layer_0[0];
    }

    private performClickOn(){
        this.node.active = false;
    }

    // update (dt) {}
}
